<?php

$prefix = "bookServer:";
$scrapy_prefix = "Scrapy:";

return [
    //首页缓存
    'bannerList'        => $prefix.'bookList:bannerList_',       //Banner列表
    'chapterList'       => $prefix.'chapterList:chapterList_',   //章节列表
    'typeList'          => $prefix.'bookList:typeList',          //章节列表

    //小说
    'bookDetail'        => $prefix.'bookDetail:bookId_',          //小说详情
    'bookContent'       => $prefix.'bookContent:bookId_',        //小说内容
    'isUpdateBook'      => $prefix.'isUpdateBook:isUpdateBook_', //已加入更新列表书籍
    //公共
    'version'           => $prefix.'version_',                   //版本更新信息
    //用户
    'sendCode'          => $prefix.'sendCode_',                  //发送验证码
    'codeToken'         => $prefix.'codeToken_',                 //验证码token
    'userInfoByEmail'   => $prefix.'userInfo:email_',            //用户个人信息
    'userInfoByUserId'  => $prefix.'userInfo:userId_',           //用户个人信息

    //队列
    'sendMailList'      => 'sendMailList',                       //发送邮箱队列
    'clickList'         => 'clickList',                          //点击量队列
    'chapterUpdateList' => 'chapterUpdateList',                  //更新章节队列
    //爬虫
    'scrapyBookUpdate'  => $scrapy_prefix.'bookUpdate',          //scrapy 队列


];